WPTravelEngine\Core\Booking D

Total Complexity 233
Dependencies 14
Dependents 2
Total lines 1,916
Lines of code 1,295
Logical lines of code 636
Comment lines 357
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
init_hooks()
D
18
48 254
payment_gateway_callback_backward_compatibility()
D
22
39 214
map_payment_data_to_new_booking_structure()
B
33 14 105
prepare_legacy_order_metas()
B
37 15 68
payment_gateway_callback_listener()
A
36 13 88
booking_process()
A
38 13 70
get_callback_token_payload()
S
51 7 27
filter_booking_status_value()
S
53 6 22
due_payment_process()
S
47 5 35
init()
S
49 5 35
update_order_items()
S
48 5 34
update_payment_info()
S
51 4 25
filter_booking_status()
S
55 4 20
send_emails()
S
61 4 11
prepare_billing_info()
S
61 4 11
get_thankyou_url()
S
54 3 23
get_tokened_url()
S
56 3 18
get_booking_info_by_id()
S
64 4 10
update_booking()
S
67 4 7
create_payment()
S
46 1 41
check_payments()
S
57 2 17
is_booking_request()
S
77 3 3
error()
S
65 3 9
insert_booking()
S
54 1 23
booking_only()
S
56 1 19
is_valid_nonce()
S
76 2 3
instance()
S
72 2 6
direct_bank_transfer()
S
59 1 15
create_booking()
S
69 2 7
is_due_payment_request()
S
77 2 3
update_billing_info()
S
72 2 6
redirect()
S
68 2 7
remove_tokened_query_params()
S
72 1 11
__construct()
S
77 1 4
may_be_cart_is_empty()
S
76 1 4
get_cancel_url()
S
65 1 10
get_return_url()
S
78 1 3
get_notification_url()
S
65 1 10
get_success_url()
S
65 1 10
init_shortcodes()
S
76 1 4
get_booking_cart()
S
82 1 3